package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.WenZhen;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface WenZhenDao extends CrudRepository<WenZhen, Long> {

    WenZhen findOneByBarcode(String barcode);

    List<WenZhen> findAllByMedicalIdIn(List<Long> medicalIds);
}
